package com.jeeplus.modules.sys.entity;

import com.jeeplus.core.persistence.DataEntity;

import javax.persistence.Table;
import javax.validation.Valid;
import java.util.Map;

/**
 * @author Administrator
 * @title: Api
 * @projectName jeeplus
 * @description: TODO
 * @date 2019/7/111:28
 */
@Table(name = "test")
public class Api extends DataEntity<Api> {
    public Api() {
        super();
    }

    private String id;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return this.id;
    }
    //region 扩展功能
    public String create() throws Exception {
        return super.getInsert(this);
    }

    public Map<String, Object> paramMap() throws Exception {
        return super.GetParamMap(this);
    }
    public String column() throws Exception {
        return super.getCol(this);
    }
    //endregion
}
